<template>
  <div>
     <p v-if="score>90">优</p>
     <p v-else-if="score>70">良</p>
     <p v-else>差</p>
  </div>
</template>

<script>
export default {
data(){
    return{
      score:80
    }
}
}
</script>

<style>

</style>